/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package teacher;

/**
 *
 * @author Root
 */
public class Whale {

    private static int IDCOUNT = 0;
    private int id, temp, weight;
    private String type;

    public Whale() {
        IDCOUNT++;
        id = IDCOUNT;
    }

    public int getID() {
        return id;
    }

    void setBodyTemperature(int temp) {
        this.temp = temp;
    }

    void setWeight(int weight) {
        this.weight = weight;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public int getTemp() {
        return temp;
    }

    public int getWeight() {
        return weight;
    }
}
